/* 
Console
version 1.0
by Kaldrum
Console command stuff and map/global hpu toggle
"Globalhpu on/off" in console to turn toggle global halfpipe utilities
"Lua.hpu = active" on level header to enable for a level.
handled in wallrun, but for organization: "Lua.multiwallrun = active" to enable multiple walljumps
*/

if HPU
	print("\x85 Didn't load repeat instance.")
	return
end

rawset(_G, "HPU", {})

HPU.maphpu = false

addHook("MapChange", function(map)
	if mapheaderinfo[map].hpu == "active"
		HPU.active = true
		HPU.maphpu = true
	else
		HPU.active = false
		HPU.maphpu = false
	end
end)